package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;
import org.springframework.util.StringUtils;

@Getter@Setter
public class ProductStockQueryObject extends QueryObject{


    private String keyword; //商品名称和编码关键字

    private Long depotId = -1L; //仓库

    public String getKeyword() {
        return StringUtils.isEmpty(keyword) ? null : keyword;
    }
}
